package com.xgq.drink.service;

import com.xgq.drink.entity.MemberLevel;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 会员等级表 服务类
 * </p>
 *
 * @author xgq
 * @since 2025-03-06
 */
public interface IMemberLevelService extends IService<MemberLevel> {
    /**
     * 查询所有会员层级
     * @return 会员层级列表
     */
    List<MemberLevel> getAllMemberLevels();

    /**
     * 修改会员层级信息
     * @param memberLevel 修改后的会员层级信息
     */
    void updateMemberLevel(MemberLevel memberLevel);
}
